package com.daqian.cloud.client.demo2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author daqian
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class ClientDemo2Application {

    public static void main(String[] args) {
        SpringApplication.run(ClientDemo2Application.class, args);
    }
//    @Bean
//    @LoadBalanced
//    public RestTemplate restTemplate() {
//        return new RestTemplate();
//    }

}
